home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-0198 / AMOSLIST / text0159.txt < prev    next >
Encoding:
Text File  |  1998-06-24  |  2.3 KB  |  56 lines

  1. > On blizz1230/50 with fpu, AMOS has often crashes. I used several days to
  2. > try and find the bug, so that I could avoid it..
  3. > Problem is:
  4. > -A fast moving loop with an 'inkey$' inside, something like:
  5. > Do
  6. >  w$=Inkey$
  7. >  if.....
  8. >  else if...
  9. >  else if...
  10. >  endif
  11. > Loop
  12. > (As long as the user don't push a key the loop keeps running around)
  13. > After some time the loop begins to be unstable (strange chars might be
  14. > written, some lines appears on WB) and the Amiga Crashes.. This takes
  15. > around 3 seconds to happen..
  16. > The solution is to put a 'Multi Wait' into the loop, this also has the
  17. > advantage of giving some CPU-power to other programs while yours is
  18. > awaiting the user to do something. I expect a similar fix would be to
  19. > put 'wait vbl' inside the loop, but I've never tried..
  20.  
  21. ahhhh.
  22. Well actually, I'm using a blizz1230/50 with fpu with no problems but
  23. as I've said before alot of people have troubles running some of my
  24. programs. That sounds like it may help. I'll give it a go.
  25.  
  26. -Murray
  27.  
  28. __________________________________________________________________________
  29. >  /_  __/ __  / __  /\  ___\  __ \__  _\           aka. JENS VANG PETERSEN
  30. >   / / / /_/ / ____/  \ \___\  __ \ \ \              top_cat@post8.tele.dk
  31. >  /_/ /_____/_/        \_____\_\ \_\ \_\
  32. > --------------------------------------------------------------------------
  33. >                      http://home8.inet.tele.dk/top_cat/
  34. >   -*-  Home of 'The Ultimate Extension list' for AMOS TC & AMOS PRO  -*-
  35. >                   -*-  SUPPORT - AMOS - AMIGA - AQUA  -*-
  36. > --------------------------------------------------------------------------
  37. >  fortune:  No such file or directory
  38. > --------------------------------------------------------------------------
  39.  
  40. --
  41.  
  42.  Alastair  \\|//   malcolm.murray@virgin.net
  43.   Murray   (o o)      http://freespace.virgin.net/malcolm.murray
  44. |~~~~~~oOOo~(_)~oOOo~~~~|~~~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~|
  45. | ---===ON AMINET===--- |dev/misc/Backbone | --==IN PRODUCTION==--  |
  46. |  game/shoot/Hanger18  |game/shoot/Traitor|    The Turtleminator   |
  47. |game/jump/BananaIslands|  game/role/CHAOS |       Hangar 18 II     |
  48. |  game/shoot/Extinct   | game/jump/Blobby | Backbone - Game Creator|
  49. |   dev/amos/KeyState   | dev/amos/PicPack |  Star Trek - BORG game |
  50. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  51.  
  52.  
  53.